package com.ruoyi.creditlife.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 医生出诊信息
对象 doctor_schedule
 * 
 * @author ddd
 * @date 2025-07-11
 */
public class DoctorSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出诊ID */
    private Long scheduleId;

    /** 医生ID */
    @Excel(name = "医生ID")
    private Long doctorId;

    /** 出诊时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出诊时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 可用名额 */
    @Excel(name = "可用名额")
    private String available;

    /** 医生名字 */
    @Excel(name = "医生名字")
    private String doctorName;

    public void setScheduleId(Long scheduleId) 
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() 
    {
        return scheduleId;
    }

    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }

    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }

    public void setAvailable(String available) 
    {
        this.available = available;
    }

    public String getAvailable() 
    {
        return available;
    }

    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scheduleId", getScheduleId())
            .append("doctorId", getDoctorId())
            .append("date", getDate())
            .append("available", getAvailable())
            .append("doctorName", getDoctorName())
            .toString();
    }
}
